export function getAssetsImages (name: string | undefined, path?: string) {
    if (path) {
        return new URL(`/src/assets/img${path}/${name}`, import.meta.url).href
    } else {
        return new URL(`/src/assets/img/${name}`, import.meta.url).href
    }
}
